package com.medical.manage.service.impl;

import java.util.List;


import com.medical.manage.domain.MedicalPatient;
import com.medical.manage.domain.Patient;
import com.medical.manage.domain.PatientInformation;
import com.medical.manage.mapper.DepartmentManagementMapper;
import com.medical.manage.service.IDepartmentManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 科室管理Service业务层处理
 *
 * @author medical
 * @date 2024-07-21
 */
@Service
public class DepartmentManagementServiceImpl implements IDepartmentManagementService
{
    @Autowired
    private DepartmentManagementMapper departmentManagementMapper;


    @Override
    public List<MedicalPatient> list(MedicalPatient medicalPatient) {
        return departmentManagementMapper.list(medicalPatient);
    }

    @Override
    public List<Patient> patientList(String patientName) {
        return departmentManagementMapper.patientList(patientName);
    }

    @Override
    public List<PatientInformation> diagnosticList(String patientName) {

        return departmentManagementMapper.diagnosticList(patientName);
    }
}
